<?php

// +----------------------------------------------------------------------
// | 悟空信息技术有限公司
// +----------------------------------------------------------------------
// | Copyright (c)2016 http://www.wkidt.com, All rights reserved.
// +----------------------------------------------------------------------
// | Author: wkidt team LSQ <admin@wkidt.com> 2017/6/3 18:22
// +----------------------------------------------------------------------
// | Readme: 资源配置文件
// +----------------------------------------------------------------------

return [
    '系统资源' => [
        '首页' => [
            '访问首页@index' => [
                '/' => ['index/Index/index', ['method' => 'get', 'return_type' => 'html']],
                '/index$' => ['index/Index/index', ['method' => 'get', 'return_type' => 'html']],
                '/login' => ['index/Index/login', ['method' => 'post']],
                '/get_info' => ['index/Index/getUserInfo', ['method' => 'get']],
            ],
        ],
    ]
];

